import { api } from "../api";

export function fetchVideoNotesApi(courseId: string | null) {
  try {
    return api.get('/java/ground/study/course/getNoteVideoRecord', {
      params: {
        courseId,
      },
    });
  }
  catch {
    throw new Error("获取视频课程笔记失败");
  }
}
